<?php

namespace app\index\model;
use think\Model;
use think\Db;

class BaseModel extends Model
{
  
    /**
     * [getAllCate 获取文章分类]
     * @author 【朱沪宁】
     */
    public function getAllCate()
    {
        return Db::name('article_cate')->field('id,name,status')->select();       
    }
    public function getAllGroup()
    {
        return Db::name('member_group')->field('id,group_name,status')->select();       
    }
    public function getAllStudio()
    {
        return Db::name('member_studio')->field('id,name,status')->select();       
    }


}